package user;

public class FoodManager {

	private static DBConnector db = DBConnector.getDBConnector();
	
	public FoodManager() {
	}
	
	public static boolean add(String... value) {
		String sql = "insert into food values (null,\'" 
			  + value[0] + "\',\'"		
			  + value[1] + "\'," 
			  + value[2] + ",\'" 
			  + value[3] + "\',\'" 
			  + value[4] + "\'," 
			  + value[5] + ",1.00);";
		System.out.println(sql);
		db.update(sql);
		return true;
		
	}
}
	
